<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">



    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2"><span style="color: red;font-size: 15px">*</span>{:__('品名')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" class="form-control" data-rule="required" name="row[name]" type="text" value="">
        </div>
    </div>


    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2"><span style="color: red;font-size: 15px">*</span>{:__('型号')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-model" class="form-control" data-rule="required" name="row[model]" type="text" value="">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2"><span style="color: red;font-size: 15px">*</span>{:__('单价')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-price" class="form-control" data-rule="required" name="row[price]" type="text" value="">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2"><span style="color: red;font-size: 15px">*</span>{:__('数量')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-count" class="form-control" data-rule="required" name="row[count]" type="text" value="">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2"><span style="color: red;font-size: 15px">*</span>{:__('购入时间')}:</label>
        <div class="col-xs-12 col-sm-8">
            <!--<input id="c-time" class="form-control" data-rule="required" name="row[time]" type="text" value="">-->
            <input id="c-time" class="form-control datetimepicker" data-rule="required" name="row[time]" autocomplete="off" data-date-use-current="false" data-date-format="YYYY-MM-DD" type="text" value="">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2"><span style="color: red;font-size: 15px">*</span>{:__('注册证号')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-register" class="form-control" data-rule="required" name="row[register]" type="text" value="">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2"><span style="color: red;font-size: 15px">*</span>{:__('生产单位')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-production" class="form-control" data-rule="required" name="row[production]" type="text" value="">
        </div>
    </div>


    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2"><span style="color: red;font-size: 15px">*</span>{:__('存放地点')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-deposit" class="form-control" data-rule="required" name="row[deposit]" type="text" value="">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2"><span style="color: red;font-size: 15px">*</span>{:__('供应商')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-supplier" class="form-control" data-rule="required" name="row[supplier]" type="text" value="">
        </div>
    </div>


    <div class="form-group">
        <label for="c-img" class="control-label col-xs-12 col-sm-2">{:__('图片')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-img"  data-rule="" class="form-control" size="50" name="row[image]" type="text" value="">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-avatar" class="btn btn-danger plupload" data-input-id="c-img" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="true" data-preview-id="p-img"><i class="fa fa-upload"></i> 上传</button></span>
                    <span><button type="button" id="fachoose-avatar" class="btn btn-primary fachoose" data-input-id="c-img" data-mimetype="image/*" data-multiple="true"><i class="fa fa-list"></i> 选择</button></span>
                </div>
                <span class="msg-box n-right" for="c-img"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-img"></ul>
        </div>
    </div>

    <div class="form-group">
        <label for="c-invoice" class="control-label col-xs-12 col-sm-2">{:__('发票')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-invoice"  data-rule="" class="form-control" size="50" name="row[invoice]" type="text" value="">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-invoice" class="btn btn-danger plupload" data-input-id="c-invoice" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="true" data-preview-id="p-invoice"><i class="fa fa-upload"></i> 上传</button></span>
                    <span><button type="button" id="fachoose-invoice" class="btn btn-primary fachoose" data-input-id="c-invoice" data-mimetype="image/*" data-multiple="true"><i class="fa fa-list"></i> 选择</button></span>
                </div>
                <span class="msg-box n-right" for="c-invoice"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-invoice"></ul>
        </div>
    </div>

    <div class="form-group">
        <label for="c-specification" class="control-label col-xs-12 col-sm-2">{:__('说明书')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-specification"  data-rule="" class="form-control" size="50" name="row[specification]" type="text" value="">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-specification" class="btn btn-danger plupload" data-input-id="c-specification" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="true" data-preview-id="p-specification"><i class="fa fa-upload"></i> 上传</button></span>
                    <span><button type="button" id="fachoose-specification" class="btn btn-primary fachoose" data-input-id="c-specification" data-mimetype="image/*" data-multiple="true"><i class="fa fa-list"></i> 选择</button></span>
                </div>
                <span class="msg-box n-right" for="c-specification"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-specification"></ul>
        </div>
    </div>



    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>